home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Demos / AppMaker 2.0b3 / Demo AppMaker 1.5 / Demo AppMaker™ / Demo AppMaker™.rsrc / TmCT_307_zDialog < prev    next >
Encoding:
Text File  |  1992-04-08  |  1.2 KB  |  48 lines

  1. /* %filename% -- dialog methods */
  2. /* Created %date% %time% by AppMaker */
  3.  
  4. /*    We recommend that you not modify this module and instead modify        */
  5. /*    its subclass, %dlogname%.  The 'z' prefix on this module marks%        %*/
  6. /*    a module which is likely to be regenerated by AppMaker after you    */
  7. /*    make changes to the user interface.  The modules without the 'z'    */
  8. /*    prefix will not be regenerated by AppMaker unless you delete them.    */
  9. /*    Using a separate subclass to override the AppMaker-generated code    */
  10. /*    lets you regenerate code without losing your hand-coded changes.    */ 
  11.  
  12. #include <Commands.h>
  13. #include <CBartender.h>
  14. #include <CDialog.h>
  15. %for each item gen include%
  16. #include "z%dlogname%.h"
  17.  
  18. extern CDesktop        *gDesktop;
  19. extern CBartender    *gBartender;
  20.  
  21. #define %dlogname%ID    %rsrcID% 
  22.  
  23. /*----------*/
  24. void    Z%dlogname%::IZ%dlogname%    (CDirectorOwner        *aSupervisor)
  25. {
  26.     CView            *enclosure;
  27.     CBureaucrat        *supervisor;
  28.  
  29.     inherited::IAMDialogDirector (%dlogname%ID, aSupervisor);
  30.  
  31.     enclosure = itsWindow;
  32.     supervisor = itsWindow;
  33.     %for each item gen create%
  34.  
  35. } /* IZ%dlogname% */
  36.  
  37. %for each item gen zAuxiliaryMethod%
  38. /*----------*/
  39. void    Z%dlogname%::UpdateMenus    (void)
  40. {
  41.     inherited::UpdateMenus ();
  42.  
  43.     %for each item gen UpdateMenus%
  44.  
  45. } /* UpdateMenus */
  46.  
  47. /* %filename% */
  48.